package com.lengmou.dao;

import com.lengmou.entity.Orders;

import java.util.List;
import java.util.Map;

public interface OrdersDao {

    public List<Orders> querysAll();

    public Orders queryById(int id);

    public List<Orders> querysByUserId(int userid);

    public List<Orders> search(Map<String,Object> map);

    public int addOrders(Orders orders);

    public int updateOrders(Orders orders);

    public int deleteOrders(int id);

}
